import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
type int = number;
//class SCopyGroupInfo
    
    export  class SCopyGroupInfo
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.groupId.__write(arg1);
            this.captainId.__write(arg1);
            arg1.writeString(this.captainName);
            arg1.writeInt(this.captainLevel);
            arg1.writeInt(this.captainSex);
            arg1.writeInt(this.captainCamp);
            arg1.writeByte(this.captainAvatarId);
            arg1.writeInt(this.playerNum);
            arg1.writeInt(this.progress);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.groupId = new SEntityId();
            this.groupId.__read(arg1);
            this.captainId = new SEntityId();
            this.captainId.__read(arg1);
            this.captainName = arg1.readString();
            this.captainLevel = arg1.readInt();
            this.captainSex = arg1.readInt();
            this.captainCamp = arg1.readInt();
            this.captainAvatarId = arg1.readByte();
            this.playerNum = arg1.readInt();
            this.progress = arg1.readInt();
            return;
        }

        public /* var */groupId: SEntityId;

        public /* var */captainId: SEntityId;

        public /* var */captainName: string;

        public /* var */captainLevel: int;

        public /* var */captainSex: int;

        public /* var */captainCamp: int;

        public /* var */captainAvatarId: int;

        public /* var */playerNum: int;

        public /* var */progress: int;
    }
